<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <style>
        div {
            background-color: cadetblue;
            /* display: inline-block; */

            /* display: none; */
            /* visibility: hidden; */
        }

        span {
            /* display: none; */
        }

        div,
        span {
            width: 100px;
            height: 100px;
            border: 1px solid;
            padding: 50px;
        }
    </style>
</head>

<body>
    <div>块级标签</div>
    <div>块级标签</div>
    <span>行内标签</span>
    <span>行内标签</span>
</body>

</html>